package com.xc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xc.domain.AjaxResult;
import com.xc.domain.dto.LoginBody;
import com.xc.domain.pojo.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xc.domain.pojo.SysUserPost;
import com.xc.domain.pojo.SysUserRole;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.List;

/**
 *
 */
public interface SysUserService extends IService<SysUser> {

    AjaxResult login(LoginBody loginBody);

    AjaxResult logout();

    Page<SysUser> userList(int page, int pageSize);

    AjaxResult select(Integer page, Integer pageSize, String userName, String phoneNumber, Integer status, String createTime,String endTime);

    AjaxResult add(SysUser sysUser);

    AjaxResult update(SysUser sysUser);

    AjaxResult del(SysUser sysUser);

}
